home *** CD-ROM | disk | FTP | other *** search
- Path: familynews.cycor.ca!usenet
- From: gdskelho@peinet.pe.ca (Greg Skelhorn)
- Newsgroups: comp.lang.c++
- Subject: [Q] Optimizing size of DOS EXE with Borland C++ v4.5
- Date: 7 Jan 1996 17:57:13 GMT
- Organization: Cycor Communications Inc., Coast to Coast Internet Services
- Message-ID: <4cp1hp$b9j@bud.peinet.pe.ca>
- NNTP-Posting-Host: ss-as09.peinet.pe.ca
- X-Newsreader: WinVN 0.92.6
-
- Hello,
-
- I recently downloaded a package: Interrupt Service Class (ISC366
- by Ofer Laor) and have been playing around with the examples.
-
- My problem is the executables I generate are 3 to 4 times the size
- of those provided. I have read my compiler manuals and turned off
- debugging info, optimized for size, and stripped symbol tables
- and now I am out of ideas.
-
- Have I missed some compiler or linker options?
-
- The documentation says the examples were compiled with Borland C++
- v 3, is there any notable differences with the size of the run-time
- or standard libraries? The examples are quite simple and do not make
- use of many library functions.
-
- The object files I generate seem appropriate in size but the linked
- .exe is enormous. ie: one example provided is 9120 bytes and mine
- is 33290 bytes.
-
- Any help would be appreciated, thanks.
-
- Greg Skelhorn
- gdskelho@peinet.pe.ca
-